<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>二级菜单</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            text-decoration: none;
            color: black;
        }
        li {
            list-style: none;
            background-color: powderblue;
        }
        .nav {
            width: 600px;
            height: 70px;
            margin: 0 auto;
        }
        .nav ul {
            position: relative;
            display: flex;
            justify-content: space-around;
            background-color: powderblue;
            width: 100%;
            height: 100%;
        }
        .nav ul>li {
            width: 100%;
            height: 100%;
        }
        .nav ul>li>a {
            display: block;
            width: 100%;
            height: 100%;
            text-align: center;
            line-height: 70px;
        }
        .nav>ul>li ul {
            display: none;
        }
        .nav ul a:hover {
            background-color: violet;
        }
        .nav li:hover .tmenu{
            display: block;
        }
    </style>
</head>
<body>
    <div class="nav">
        <ul class="menu">
            <li>
                <a href="#">奶茶</a>
                <ul class="tmenu">
                    <li><a href="#'></a></li>
                    <li><a href="#"></a></li>
                </ul>
            </li>
            <li>
                <a href="#">果茶</a>
                <ul class="tmenu">
                    <li><a href="#">昏睡红茶</a></li>
                    <li><a href="#">阿帕茶</a></li>
                </ul>
            </li>
            <li>
                <a href="#">咖啡</a>
                <ul class="tmenu">
                    <li><a href="#">美式咖啡</a></li>
                    <li><a href="#">拿铁咖啡</a></li>
                    <li><a href="#">狗屎咖啡</a></li>
                </ul>
            </li>
        </ul>
    </div>
</body>
</html>